package gptma.bo.dao.employee;

import gptma.bo.dao.FetchInformation;
import java.util.List;

import gptma.bo.dao.GenericDao;
import gptma.bo.model.employee.Employee;
import gptma.bo.model.project.Project;
import gptma.bo.model.task.Task;

public interface EmployeeDao extends GenericDao<Employee, Long> {

	Employee findEmployee(String trigram);

	List<Task> findAssignedTasks(Employee employee);

	List<Task> findAssignedTasks(Employee employee,
			FetchInformation fetchInformation);

	long findAssignedTasksCount(Employee employee);

	List<Project> findManagedProjects(Employee employee);
}
